//
//  Person.h
//  OC2_实例变量可见度_方法
//
//  Created by Scott on 16/2/26.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject

{
    NSString *_name;
    NSString *_sex;
    NSInteger _age;
}


/** 构造器. */
+ (instancetype)person;
+ (instancetype)personWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;








- (void)setName:(NSString *)name;
- (NSString *)name;

- (instancetype)initWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;






- (void)sayHi;






@end
